package com.dks.mapper;

import java.util.List;

import com.dks.models.teacher.Evaluate;
import com.dks.vo.teacher.EvaluateDetailVo;
import com.dks.vo.teacher.EvaluateVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EvaluateMapper{

    Integer insert(Evaluate evaluate);

    EvaluateDetailVo select(@Param("id")Long id);

    List<EvaluateVo> list(@Param("teacherId")Long teacherId, @Param("qsClassId")Long qsClassId, @Param("studentId")Long studentId);

    /** 统计：家长评价-已评价人数*/
    Integer countEvaluateNum(@Param("qsClassId")long qsClassId);
}
